﻿using System;
class BatGoikoTower
{
    static void Main()
    {
        int dots;
        int nextRow = 1,step=2;
        int h = int.Parse(Console.ReadLine());
        for (int i = 0; i < h; i++)
        {
            dots = h - (i + 1);
            Console.Write(new string('.', dots));
            Console.Write("/");
            if (i == nextRow)
            {
                Console.Write(new string('-', 2 * (h - dots - 1)));
                nextRow += step;
                step++;
            }
            else
            {
                Console.Write(new string('.', 2 * (h - dots - 1)));
            }

            Console.Write("\\");
            Console.Write(new string('.', dots));
            Console.WriteLine();
        }

    }
}